//停车记录 - 静态 路由
import { http } from "@/utils/http";
import { baseUrlApi } from "./utils";
import { ResultTable } from "./result/result_table";

const basePath = "reconciliation/";

//对账列表
export const ReconciliationList = (data?: object) => {
  return http.request<ResultTable>("post", baseUrlApi(basePath + "list"), {
    data
  });
};

//新增对账记录
export const ReconciliationImport = (data?: object) => {
  return http.request<ResultTable>("post", baseUrlApi(basePath + "import"), {
    data,
    headers: {
      "Content-Type": "multipart/form-data" // 设置请求头为 multipart/form-data
    }
  });
};
